"""The getting_started Frontend page of the app."""

from nextpy_org import styles
from nextpy_org.templates import template
import nextpy as xt

@template(route="Frontend", title='2Tutorial', description="3")
def frontend() -> xt.Component:
    """
        Returns: The UI for the frontend page.
    """
    relative_path = 'nextpy_org/mdfiles/tutorial/frontend.md'
    with open(relative_path, encoding="utf-8") as readme:
        content = readme.read()
    return xt.markdown(content, component_map=styles.markdown_style)